package frame.fengling.com.freedom.activity;

import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import frame.fengling.com.freedom.R;
import frame.fengling.com.freedom.dialog.CommonToast;
import frame.fengling.com.freedom.util.ThemeUtil;

/**
 * Created by Administrator on 2016/6/21.
 */
public class BaseActivity extends AppCompatActivity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_base);

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            ThemeUtil.setTranslucentStatus(this, true);
        }
        ThemeUtil.setStatusBarBackground(this);
    }
}
